<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<c:url value="/" var="base" />
<style>
	.sub {
		width: 100px;
		font-size: 25px;
		color: black;
		background-color: white;
		border-radius: 5px;
		}
</style>
</head>
<jsp:include page="head2.jsp" />
<body>
	<div id="templatemo_main_wrapper">
		<div id="templatemo_main">
			<%-- <div id="sidebar" class="left">
				<jsp:include page="leftList.jsp" />
			</div> --%>

			<div id="content" class="right">
				<h2>注册成为会员</h2>

				<h3>请认真填写如下内容：</h3>
				<form id="fo" action="${base}Users?method=registerUser" method="post" name="fo" >
					<div class="content_half left form_field">
						用户名：<br /> <input name="username" id="username" type="text"
							maxlength="40" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
							style="color: red; font-weight: bold" id="username1"></span><br />
						密码：<br /> <input name="password" type="password" id="p1"
							maxlength="40" />*<br />
						重复密码：<br /> <input name="password1" type="password" id="p1"
							maxlength="40" />*<br />
						姓名：<br /> <input name="realname" type="text" maxlength="40" />*<br />
						年龄:<br /> <select id="age" name="age">
							<%
								for (int i = 1; i < 120; i++) {
							%>
							<option value="<%=i%>"><%=i%>岁
							</option>
							<%
								}
							%>
						</select><br /> 性别:<br /> <select name="gender">
							<option value="男">男</option>
							<option value="女">女</option>
						</select><br /> 电话:<br /> <input name="tel" type="text" id="phone"
							maxlength="40" />*<br /> 住址:<br /> <input name="address"
							type="text" id="country" maxlength="40" /><br /> <br> <br>
						<input class="sub" type="submit" value="立即注册">
					</div>
				</form>


				<div class="cleaner h40"></div>



			</div>

			<div class="cleaner"></div>
		</div>
		<!-- END of main -->
	</div>
	<!-- END of main wrapper -->

	<jsp:include page="foot.jsp" />
</body>
</html>
